package ooday03.Demo.practice01;

public class SwimTest {
    public static void main(String[] args) {
        Dog dogs=new Dog("小黑",1,"黑");
        dogs.eat();
        dogs.swim();
        dogs.drink();
        dogs.lookHome();
        System.out.println();
        Chick chick=new Chick("小黄",2,"黄");
        chick.eat();
        chick.layEgg();
        chick.drink();
        System.out.println();
        Fish fish=new Fish("小蓝",1,"蓝");
        fish.eat();
        fish.drink();
        fish.swim();
    }
}
